switchroot/remount: Trim set of remounted filesystems
authorColin Walters <walters@verbum.org>
Fri, 12 May 2017 19:55:12 +0000 (15:55 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 16 May 2017 16:13:05 +0000 (16:13 +0000)
commitf21f500e40ba0d2c0881ecdaf876f8510e8c64ba
tree364049602e3b2d6601cc9d7f2fbd91d08c528588
parent19827a996597a8df2ddbb344e4da1661488df99c
switchroot/remount: Trim set of remounted filesystems

I really have no idea what I was thinking with that list of mount points. It
seems arbitrary. Sadly `git log` doesn't help, and there's no comments.

Basically, the only mounts we should care about are those that libostree
creates. Which are just `/sysroot` and `/var`. Systemd will handle the other
things like `/tmp`, it's not our job, and we shouldn't touch them.

Closes: #859
Approved by: jlebon
src/switchroot/ostree-remount.c